package per.kongtouxu.domain.vo;

import per.kongtouxu.domain.pojo.Admin;

import java.util.Date;

public class V_Admin extends Admin {
    private String roleName;

    public V_Admin() {
    }

    public V_Admin(Long adminId, String adminName, String adminPwd, Integer adminState, Date adminCtime, Long roleId, String roleName) {
        super(adminId, adminName, adminPwd, adminState, adminCtime, roleId);
        this.roleName = roleName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return super.toString()+"V_Admin{" +
                "roleName='" + roleName + '\'' +
                '}';
    }
}
